﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IsThenumberPrime
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = int.Parse(Console.ReadLine());
            bool isPrime = true;

            for (int index = 2; index < number / 2; index++)
            {
                if (number % index == 0)
                {
                    isPrime = false;
                    break;
                }
                
            }
            if (isPrime)
            {
                Console.WriteLine("Yes the number is prime ");
            }
            else
            {
                Console.WriteLine("Sorry the number is not prime");
            }
            


        }
    }
}
